PRISM

Benchmark
Model:consensus v.1 (MDP)
Parameter(s)N = 4, K = 4
Property:steps_min (exp-reward)
Invocation (default)
../fix-syntax ../prism -javamaxmem 11g -cuddmaxmem 4g -heuristic speed -e 1e-6 -maxiters 1000000 consensus.4.prism consensus.props --property steps_min -const K=4
Execution
Walltime:3.775299072265625s
Return code:0
Relative Error:0.000617011416096875
Log
PRISM
=====

Version: 4.5.dev
Date: Fri Feb 26 15:07:38 CET 2021
Hostname: christopher
Memory limits: cudd=4g, java(heap)=11g
Command line: prism -javamaxmem 11g -cuddmaxmem 4g -heuristic speed -e 1e-6 -maxiters 1000000 consensus.4.prism consensus.props --property steps_min -const K=4

Parsing model file "consensus.4.prism"...

Type:        MDP
Modules:     process1 process2 process3 process4 
Variables:   counter pc1 coin1 pc2 coin2 pc3 coin3 pc4 coin4 

Parsing properties file "consensus.props"...

5 properties:
(1) "c1": P>=1 [ F "finished" ]
(2) "c2": Pmin=? [ F "finished"&"all_coins_equal_1" ]
(3) "disagree": Pmax=? [ F "finished"&!"agree" ]
(4) "steps_max": R{"steps"}max=? [ F "finished" ]
(5) "steps_min": R{"steps"}min=? [ F "finished" ]

---------------------------------------------------------------------

Model checking: "steps_min": R{"steps"}min=? [ F "finished" ]
Model constants: K=4

Warning: Switching to sparse engine and (backwards) Gauss Seidel (default for heuristic=speed).

Building model...
Model constants: K=4

Computing reachable states...

Reachability (BFS): 195 iterations in 0.02 seconds (average 0.000113, setup 0.00)

Time for model construction: 0.045 seconds.

Type:        MDP
States:      43136 (1 initial)
Transitions: 144352
Choices:     115840

Transition matrix: 2336 nodes (3 terminal), 144352 minterms, vars: 18r/18c/4nd

Prob0A: 57 iterations in 0.04 seconds (average 0.000702, setup 0.00)

Prob1E: 58 iterations in 0.02 seconds (average 0.000379, setup 0.00)

Warning: PRISM hasn't checked for zero-reward loops.
Your minimum rewards may be too low...

goal = 64, inf = 0, maybe = 43072

Computing remaining rewards...
Engine: Sparse

Building sparse matrix (transitions)... [n=43136, nc=115776, nnz=144288, k=4] [2.3 MB]
Building sparse matrix (transition rewards)... [n=43136, nc=115776, nnz=0, k=4] [620.8 KB]
Creating vector for state rewards... [337.0 KB]
Creating vector for inf... [337.0 KB]
Allocating iteration vectors... [2 x 337.0 KB]
TOTAL: [4.2 MB]

Starting iterations...

Iterative method: 4613 iterations in 3.33 seconds (average 0.000717, setup 0.03)

Value in the initial state: 767.5261352324376

Time for model checking: 3.405 seconds.

Result: 767.5261352324376 (value in the initial state)


Overall running time: 3.68 seconds.

---------------------------------------------------------------------

Note: There were 2 warnings during computation.